#include "managewindow.h"
#include "ui_managewindow.h"
#include "goodsoperatewindow.h"
#include "changestaffwindow.h"
#include<QDebug>
#include "serverlogwindow.h"
#include"loginwindow.h"
manageWindow::manageWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::manageWindow)
{
    ui->setupUi(this);
}

manageWindow::~manageWindow()
{
    delete ui;
}



void manageWindow::on_pushButton_2_clicked()
{
    goodsOperateWindow *g1=new goodsOperateWindow(this);
    g1->show();
    this->hide();
}

void manageWindow::on_pushButton_clicked()
{
    changeStaffWindow *c1=new changeStaffWindow(this);

    c1->show();
    this->hide();
}

void manageWindow::on_serverLogButton_clicked()
{
    serverLogWindow *s1= new serverLogWindow(this);
    s1->show();
    this->hide();
}

